print("Give me two numbers: and I'll divide them.")
print("Enter 'q' to quit.")
while True:
    first_num = int(input("\nFirst number: "))
    if first_num == 'q':
        break
    second_num = int(input("\nSecond number: "))
    if second_num == 'q':
        break
    answer = first_num / second_num
    print(answer)